<template>

<div id="placeholder" style="height: 100%">
  <remote-script src="http://192.168.1.118:8085/web-apps/apps/api/documents/api.js" >
</remote-script></div>

</template>

<script>

export default {
 created() {
        window.docEditor = new DocsAPI.DocEditor("placeholder",
            {
                "document": {
                    "fileType": "docx",
                    "key": "E7FAFC9C22A8",
                    "title": "Example Document Title.docx",
                    "url": "http://192.168.1.118:9527/dev-api/organization/oauth/img/profile/avatar/2021/03/09/test.docx"
                },
                "documentType": "word",
                "editorConfig": {
                    "callbackUrl": "http://192.168.1.118:9527/dev-api/organization/oauth/img/profile/avatar/2021/03/09/",
                },
                "height": "100%",
                "width": "100%"
            })
 }

}

    </script>
